import Vue from 'vue'

import Vuex from 'vuex'


import mutations from './mutations'


import actions from './avtions'

Vue.use(Vuex)

const state = {
    datas: [1, 2, 3],
    level: 1,
    personInfo: {},
    //接口请求前缀
    httpApi: 'http://192.168.1.250:8080/bolu/',
    //上传图片地址前缀
    httpImgUrl: 'http://huabangyun.oss-cn-hangzhou.aliyuncs.com/'
}

export default new Vuex.Store({
    state,
    mutations,
    actions

})